#ifndef RESTRICTION_LAYOUT
#define RESTRICTION_LAYOUT

#include <QHBoxLayout>
#include <QPushButton>
#include <QLabel>

class RestrictionLayout:public QHBoxLayout {
	Q_OBJECT

	protected:
		int type;
		QPushButton *qpbrm;
		QLabel *qlname;
	public:
		RestrictionLayout(int);
		~RestrictionLayout();
		QPushButton *getRmButton();
		int getType();
		QString getName();
	public slots:
		void rmClick();
	signals:
		void remove(int);
};

#endif
